3.5.84 \(\int \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \, dx\) [484]

Optimal. Leaf size=259 \[ \frac {\sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^{1+n}}{2 b c (1+n) \sqrt {1-c^2 x^2}}-\frac {i 2^{-3-n} e^{-\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c \sqrt {1-c^2 x^2}}+\frac {i 2^{-3-n} e^{\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c \sqrt {1-c^2 x^2}} \]

[Out]

1/2*(a+b*arcsin(c*x))^(1+n)*(-c^2*d*x^2+d)^(1/2)/b/c/(1+n)/(-c^2*x^2+1)^(1/2)-I*2^(-3-n)*(a+b*arcsin(c*x))^n*G
AMMA(1+n,-2*I*(a+b*arcsin(c*x))/b)*(-c^2*d*x^2+d)^(1/2)/c/exp(2*I*a/b)/((-I*(a+b*arcsin(c*x))/b)^n)/(-c^2*x^2+
1)^(1/2)+I*2^(-3-n)*exp(2*I*a/b)*(a+b*arcsin(c*x))^n*GAMMA(1+n,2*I*(a+b*arcsin(c*x))/b)*(-c^2*d*x^2+d)^(1/2)/c
/((I*(a+b*arcsin(c*x))/b)^n)/(-c^2*x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.17, antiderivative size = 259, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {4753, 3393, 3388, 2212} \begin {gather*} -\frac {i 2^{-n-3} e^{-\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,-\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c \sqrt {1-c^2 x^2}}+\frac {i 2^{-n-3} e^{\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c \sqrt {1-c^2 x^2}}+\frac {\sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^{n+1}}{2 b c (n+1) \sqrt {1-c^2 x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^n,x]

[Out]

(Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^(1 + n))/(2*b*c*(1 + n)*Sqrt[1 - c^2*x^2]) - (I*2^(-3 - n)*Sqrt[d - c
^2*d*x^2]*(a + b*ArcSin[c*x])^n*Gamma[1 + n, ((-2*I)*(a + b*ArcSin[c*x]))/b])/(c*E^(((2*I)*a)/b)*Sqrt[1 - c^2*
x^2]*(((-I)*(a + b*ArcSin[c*x]))/b)^n) + (I*2^(-3 - n)*E^(((2*I)*a)/b)*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])
^n*Gamma[1 + n, ((2*I)*(a + b*ArcSin[c*x]))/b])/(c*Sqrt[1 - c^2*x^2]*((I*(a + b*ArcSin[c*x]))/b)^n)

Rule 2212

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-F^(g*(e - c*(f/d))))*((c
+ d*x)^FracPart[m]/(d*((-f)*g*(Log[F]/d))^(IntPart[m] + 1)*((-f)*g*Log[F]*((c + d*x)/d))^FracPart[m]))*Gamma[m
 + 1, ((-f)*g*(Log[F]/d))*(c + d*x)], x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 3388

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 3393

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 4753

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[(1/(b*c))*Simp[(d
+ e*x^2)^p/(1 - c^2*x^2)^p], Subst[Int[x^n*Cos[-a/b + x/b]^(2*p + 1), x], x, a + b*ArcSin[c*x]], x] /; FreeQ[{
a, b, c, d, e, n}, x] && EqQ[c^2*d + e, 0] && IGtQ[2*p, 0]

Rubi steps

\begin {align*} \int \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \, dx &=\frac {\sqrt {d-c^2 d x^2} \int \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^n \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int (a+b x)^n \cos ^2(x) \, dx,x,\sin ^{-1}(c x)\right )}{c \sqrt {1-c^2 x^2}}\\ &=\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int \left (\frac {1}{2} (a+b x)^n+\frac {1}{2} (a+b x)^n \cos (2 x)\right ) \, dx,x,\sin ^{-1}(c x)\right )}{c \sqrt {1-c^2 x^2}}\\ &=\frac {\sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^{1+n}}{2 b c (1+n) \sqrt {1-c^2 x^2}}+\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int (a+b x)^n \cos (2 x) \, dx,x,\sin ^{-1}(c x)\right )}{2 c \sqrt {1-c^2 x^2}}\\ &=\frac {\sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^{1+n}}{2 b c (1+n) \sqrt {1-c^2 x^2}}+\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int e^{-2 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{4 c \sqrt {1-c^2 x^2}}+\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int e^{2 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{4 c \sqrt {1-c^2 x^2}}\\ &=\frac {\sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^{1+n}}{2 b c (1+n) \sqrt {1-c^2 x^2}}-\frac {i 2^{-3-n} e^{-\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c \sqrt {1-c^2 x^2}}+\frac {i 2^{-3-n} e^{\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c \sqrt {1-c^2 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.52, size = 182, normalized size = 0.70 \begin {gather*} \frac {d \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {4 a+4 b \text {ArcSin}(c x)}{b+b n}-i 2^{-n} e^{-\frac {2 i a}{b}} \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )+i 2^{-n} e^{\frac {2 i a}{b}} \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )\right )}{8 c \sqrt {d \left (1-c^2 x^2\right )}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^n,x]

[Out]

(d*Sqrt[1 - c^2*x^2]*(a + b*ArcSin[c*x])^n*((4*a + 4*b*ArcSin[c*x])/(b + b*n) - (I*Gamma[1 + n, ((-2*I)*(a + b
*ArcSin[c*x]))/b])/(2^n*E^(((2*I)*a)/b)*(((-I)*(a + b*ArcSin[c*x]))/b)^n) + (I*E^(((2*I)*a)/b)*Gamma[1 + n, ((
2*I)*(a + b*ArcSin[c*x]))/b])/(2^n*((I*(a + b*ArcSin[c*x]))/b)^n)))/(8*c*Sqrt[d*(1 - c^2*x^2)])

________________________________________________________________________________________

Maple [F]
time = 0.19, size = 0, normalized size = 0.00 \[\int \sqrt {-c^{2} d \,x^{2}+d}\, \left (a +b \arcsin \left (c x \right )\right )^{n}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-c^2*d*x^2+d)^(1/2)*(a+b*arcsin(c*x))^n,x)

[Out]

int((-c^2*d*x^2+d)^(1/2)*(a+b*arcsin(c*x))^n,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)^(1/2)*(a+b*arcsin(c*x))^n,x, algorithm="maxima")

[Out]

integrate(sqrt(-c^2*d*x^2 + d)*(b*arcsin(c*x) + a)^n, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)^(1/2)*(a+b*arcsin(c*x))^n,x, algorithm="fricas")

[Out]

integral(sqrt(-c^2*d*x^2 + d)*(b*arcsin(c*x) + a)^n, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {asin}{\left (c x \right )}\right )^{n}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c**2*d*x**2+d)**(1/2)*(a+b*asin(c*x))**n,x)

[Out]

Integral(sqrt(-d*(c*x - 1)*(c*x + 1))*(a + b*asin(c*x))**n, x)

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)^(1/2)*(a+b*arcsin(c*x))^n,x, algorithm="giac")

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^n\,\sqrt {d-c^2\,d\,x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*asin(c*x))^n*(d - c^2*d*x^2)^(1/2),x)

[Out]

int((a + b*asin(c*x))^n*(d - c^2*d*x^2)^(1/2), x)

________________________________________________________________________________________